﻿@model IEnumerable<Gfw.Web.Models.Account.OutlayModel>

@{
    Layout = null;
}
@using C.Mvc
@using MvcContrib.UI.Grid;

@using (Ajax.BeginForm("List", "Outlay", null, Gfw.Web.Common.ViewHelper.AjaxGet))
{
 @Html.Grid(Model).Columns(
            column =>
            {
                column.For(x => x.PayDate).Named("支出日期");
                column.For(x => x.PayType).Named("支出类型");
                column.For(x => x.PayMoney).Named("支出费用");
                column.For(x => x.PayAbstract).Named("摘要");
            }
    ).Attributes(id => "mytable",cellpadding=>"0",cellspacing=>"0").Empty("没有相关信息");


 @Ajax.DataGridPager().Totals(ViewBag.TotalSize).PageIndex(ViewBag.PageIndex).PagePropertyName("page").Model(new { did = ViewBag.did}).AjaxOptions(Gfw.Web.Common.ViewHelper.AjaxGet);
}
